package com.smallstep.hystrix.entity;

import org.springframework.http.HttpMethod;

import java.lang.reflect.Type;

/**
 * @author 李俊
 */
public class FFRequestKey {

    protected String service;
    protected String path;
    protected HttpMethod method;
    protected Type responseType;

    public FFRequestKey() {
    }

    public FFRequestKey(String service, String path, HttpMethod method, Type responseType){
        this.service = service;
        this.path = path;
        this.method = method;
        this.responseType = responseType;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public HttpMethod getMethod() {
        return method;
    }

    public void setMethod(HttpMethod method) {
        this.method = method;
    }

    public Type getResponseType() {
        return responseType;
    }

    public void setResponseType(Type responseType) {
        this.responseType = responseType;
    }
}
